<?php /* Smarty version 2.6.18, created on 2009-07-20 13:22:55
         compiled from exportdata.tpl */ ?>
<div id="blanket" style="display:none;"></div>
<div id="exportdiv" style="position:absolute;background-color:#fff;width:400px;z-index: 1002;display:none;"></div>
<form name="mainForm" method="POST" id="mainForm">
    	<h1>Export Data</h1>
    	<p style="vertical-align: top;">
        <div class="blue">
		<p class="right"><input type="button" value="Continue" onclick="exportd();" /></p>
		
		
			<table border="0" width="100%">
					<tr>
						<td>Select data to export</td>
					</tr>
					<tr>
						<td>
							<input type="checkbox" value="1" name="user[ors]">ORS
						</td>
					</tr>
					<tr>
						<td>
							<input type="checkbox" value="1" name="user[dispatching]">Dispatching
						</td>
					</tr>
					<tr>
						<td>
							<input type="checkbox" value="1" name="user[order]">Orders
						</td>
					</tr>
					<tr>
						<td>
							<input type="checkbox" value="1" name="user[performance]">Suppier Performance
						</td>
					</tr>
				</table>
        </div>
        </p>
</form>
<script language="script">
<?php echo '
	function exportd(){
		doajaxAction("/account/processexport",1,\'exportdiv\',document.getElementById(\'mainForm\'));
		popup("exportdiv");
	}
'; ?>

</script>